package com.linciping.room.sample1

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey

@Entity(tableName = "area")
data class Area(
    @PrimaryKey(autoGenerate = true)
    val id: Long,
    val pid: Long = -1,
    val name: String,
    @ColumnInfo(name = "p_name")
    val pName: String
)
